{% load pages_tags cache %}
{% cache PAGES_CONTENT_CACHE_DURATION menu page.id lang current_page.id %}
{% if page.status %}
<li>
<a href="{% show_absolute_url page %}">{% show_content page "title" %}</a> <span style="color:#999">{% ifequal page current_page %}selected{% endifequal %}</span>
    {% if children %}
    <ul>
    {% for child in children %}
        {% show_menu child url %}
    {% endfor %}
    </ul>
    {% endif %}
</li>
{% endif %}
{% endcache %}
